package com.lizhi.common.yun.entity;/**
 * @program: upp
 * @name ListResult
 * @description: 返回结果是list集合
 * @author: lizhi
 * @create: 2020-06-02 17:14
 */

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 *@program: upp
 *@name ListResult
 *@description: 返回结果是list集合
 *@author: lizhi
 *@create: 2020-06-02 17:14
 */
@Setter
@Getter
@ToString
public class ListResponseResult {

    @ApiModelProperty(value = "返回的数据")
    private Object data;

    @ApiModelProperty(value = "数据总条数")
    private Integer total;

    @ApiModelProperty(value = "是否成功")
    private boolean success = false;

    @ApiModelProperty(value = "每页展示的数据")
    private String pageSize;

    @ApiModelProperty(value = "当前页")
    private Integer current;

    @ApiModelProperty(value = "原因")
    private String status;
}
